\documentclass{xdyy-usermanual}

\xdyymanualsetup{
  info = {
    author            = {夏康玮},
    title             = {用户手册},
    email             = {kangweixia_xdyy@163.com},
    date              = {2022-01-31},
    version           = {0.0.1},
    github-repository = {https://github.com/xkwxdyy/},
    gitee-repository  = {https://gitee.com/xkwxdyy/},
  }
}

\begin{document}
\maketitle
\tableofcontents


\section{宏包简介}


\section{命令环境说明}


\subsection{命令}
% \begin{function}{foo}
%   \begin{syntax}

%   \end{syntax}
% \end{function}

\subsection{环境}

\end{document}
